package com.xianyu.us.pojo.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 封装提交人的id、商品描述、单价、图片url集合
 * @author lixilin
 *
 */

public class UsGoods implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 2052220530916257018L;
	private Integer id;
	private Integer userId;
	private String content;
	private BigDecimal price;
	private String sendAddr;
	private String imgUrl;
	private Date createdTime;
	private Date modifyTime;
	
	public UsGoods() {}
	public UsGoods(Integer id, Integer userId, String content, BigDecimal price, String sendAddr, String imgUrl,
			Date createdTime, Date modifyTime) {
		this.id = id;
		this.userId = userId;
		this.content = content;
		this.price = price;
		this.sendAddr = sendAddr;
		this.imgUrl = imgUrl;
		this.createdTime = createdTime;
		this.modifyTime = modifyTime;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public BigDecimal getPrice() {
		return price;
	}
	public void setPrice(BigDecimal price) {
		this.price = price;
	}
	public String getSendAddr() {
		return sendAddr;
	}
	public void setSendAddr(String sendAddr) {
		this.sendAddr = sendAddr;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public Date getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}
	public Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}


	@Override
	public String toString() {
		return "UsGoods [id=" + id + ", userId=" + userId + ", content=" + content + ", price=" + price + ", sendAddr="
				+ sendAddr + ", imgUrl=" + imgUrl + ", createdTime=" + createdTime + ", modifyTime=" + modifyTime + "]";
	}
	
	
}